package com.lagou.io;

import java.io.InputStream;

/**
 * @author DingYiYuan
 * @description
 * @time 2021/3/9 16:37
 */
public class Resources {

    //加载配置文件、生成流
    public static InputStream getResourceAsSteam(String path) {
        InputStream resourceAsStream = Resources.class.getClassLoader().getResourceAsStream(path);
        return resourceAsStream;

    }


}
